module.exports = (app) => {
	const medicine = require('../controller/medicine.controller')
	var router = require('express').Router()
	router.get('/', medicine.findAll)
	router.get('/search/', medicine.search)
	router.get('/:medInfoId', medicine.findOne)
	app.use('/medicine', router)
}
